<form id="pagerForm" method="post" action="/index.php?act=admin&st=admin_user_list">
	<input type="hidden" name="pageNum" value="{$pageNum}" />
	<input type="hidden" name="numPerPage" value="{$numPerPage}" />
</form>

<div class="pageHeader">
	<form onsubmit="return navTabSearch(this);" action="/index.php?act=admin&st=admin_user_list" method="post">
	<div class="searchBar">
		<table class="searchContent">
			<tr>
				<td>
					用户姓名：<input type="text" name="user_name" value="{$user_name}" />
				</td>
				<td>
					真实姓名：<input type="text" name="real_name" value="{$real_name}" />
				</td>
				<td>
					<ul>
						<li><div class="buttonActive"><div class="buttonContent"><button type="submit">检索</button></div></div></li>
					</ul>
				</td>
			</tr>
		</table>
	</div>
	</form>
</div>
<div class="pageContent">
	<div class="panelBar">
		<ul class="toolBar">
			{if $show_operator}
			<li><a class="add" href="/index.php?act=admin&st=adminAdd" target="dialog" rel="add_admin" title="添加后台用户" mask="true"><span>添加</span></a></li>
			<li><a title="确实要删除这些记录吗?" target="selectedTodo" rel="ids" href="/index.php?act=admin&st=adminDelete" class="delete" postType="string"><span>删除</span></a></li>
			<li><a class="edit" href="/index.php?act=admin&st=adminEdit&userid={sid_admin}" target="dialog" rel="edit_admin" title="编辑后台用户" mask="true"><span>修改</span></a></li>
			{if $supper_auth}
			<li><a class="icon" href="/index.php?act=admin&st=authory&userid={sid_admin}" target="dialog" rel="setting_auth" title="用户权限分配"  mask="true" width="900" height="500"><span>权限设置</span></a></li>
			{/if}
			{/if}
		</ul>
	</div>
	<table class="table" width="100%" layoutH="113">
		<thead>
			<tr>
				<th width="22"><input type="checkbox" group="ids" class="checkboxCtrl"></th>
				<th>用户名称</th>
				<th width="120">真实姓名</th>
				<th width="120">用户角色</th>
				<th width="180">最后一次登录IP</th>
				<th width="180">最后一次登录时间</th>
			</tr>
		</thead>
		<tbody>
			{foreach item=adminUser from=$allUsers}
			<tr target="sid_admin" rel="{$adminUser.admin_user_id}">
				<td><input name="ids" value="{$adminUser.admin_user_id}" type="checkbox"></td>
				<td>{$adminUser.user_name}</td>
				<td>{$adminUser.real_name}</td>
				<td>{$adminType[$adminUser.admin_type]}</td>
				<td>{$adminUser.last_login_ip}</td>
				<td>{$adminUser.last_login_time}</td>
			</tr>
			{/foreach}
		</tbody>
	</table>
	<div class="panelBar">
		<div class="pages">
			<span>显示</span>
			<select class="combox" name="numPerPage" onchange="navTabPageBreak({numPerPage:this.value})">
				{foreach item=num from=$shoNum}
				<option value="{$num}" {if $numPerPage eq $num}selected{/if}>{$num}</option>
				{/foreach}
			</select>
			<span>条，共{$total}条</span>
		</div>
		<div class="pagination" targetType="navTab" totalCount="{$total}" numPerPage="{$numPerPage}" pageNumShown="{$pageNumShown}" currentPage="{$pageNum}"></div>
	</div>
</div>